/*    

    bobbietalk - a visual programming environment for toy robotics

    Copyright (C) 2013  Roberto Tiella

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

*/
package bobbietalk.simulator;

/**
 *
 * @author tiella
 */
public class RobotDataChanged extends RobotChangeEvent {

    private int power;

    /**
     * Creates a new instance of RobotDataChanged
     */
    public RobotDataChanged() {
    }
    /**
     * Holds value of property x.
     */
    private double x;

    public int getPower() {
        return power;
    }

    /**
     * Getter for property x.
     *
     * @return Value of property x.
     */
    public double getX() {
        return this.x;
    }

    public void setPower(int power) {
        this.power = power;
    }

    /**
     * Setter for property x.
     *
     * @param x New value of property x.
     */
    public void setX(double x) {
        this.x = x;
    }
    /**
     * Holds value of property y.
     */
    private double y;

    /**
     * Getter for property y.
     *
     * @return Value of property y.
     */
    public double getY() {
        return this.y;
    }

    /**
     * Setter for property y.
     *
     * @param y New value of property y.
     */
    public void setY(double y) {
        this.y = y;
    }
    private double a;

    public double getA() {
        return a;
    }

    public void setA(double a) {
        this.a = a;
    }
    /**
     * Holds value of property damage.
     */
    private int damage;

    /**
     * Getter for property damage.
     *
     * @return Value of property damage.
     */
    public int getDamage() {
        return this.damage;
    }

    /**
     * Setter for property damage.
     *
     * @param damage New value of property damage.
     */
    public void setDamage(int damage) {
        this.damage = damage;
    }
}
